<% content_for :title, "Tableau #{ @board }" %>

<section>
  <header>
    <h1>Panneaux d'affichage</h1>
  </header>

  <% @boards.each do |board| %>
    <div>
      <%= link_to board.label, board %>
      <%= board.ads.count %> annonces
    </div>
  <% end %>

</section>
